function tline = cfdSkipMacroComments(fileID, varargin)
%--------------------------------------------------------------------------
%  Written by LiuHaHa @ NWPU, 2022 01 
%  Contact me at: liuzhikan@mail.nwpu.edu.cn
%==========================================================================
% Routine Description:
%   This function skips empty lines in a fileID
%--------------------------------------------------------------------------

if isempty(varargin)
    tline = fgetl(fileID);
else
    tline = varargin{1};
end

trimmedTline = strtrim(tline);
if length(trimmedTline)<2
    return;
end
% tempsize = size(trimmedTline,2);
% if (tempsize >= 2)
    if strcmp(trimmedTline(1:2), '/*')        
        while ~cfdContains(tline, '*/')
            tline = fgetl(fileID);
        end    
        tline = fgetl(fileID);
    end
% end